#ifndef _CHARUTIL_
#define _CHARUTIL_



int binarySearch(const u16 *table,u16 tablen, u16 code);
unsigned short uc2gbc( u16 uc );
extern void uni2gb( const u16 *unistr, char *gbbuf);
extern void utf82Unicode(const char *srcstr,u16 *dststr);
extern unsigned short getuni(unsigned short i);
extern void uni2gbchar(u16 unistr,unsigned char *gbbuf);


#endif
